package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.FeeJianchaMapper;
import com.ruoyi.system.domain.FeeJiancha;
import com.ruoyi.system.service.IFeeJianchaService;

/**
 * 检查缴费信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-27
 */
@Service
public class FeeJianchaServiceImpl implements IFeeJianchaService 
{
    @Autowired
    private FeeJianchaMapper feeJianchaMapper;

    /**
     * 查询检查缴费信息
     * 
     * @param id 检查缴费信息主键
     * @return 检查缴费信息
     */
    @Override
    public FeeJiancha selectFeeJianchaById(Long id)
    {
        return feeJianchaMapper.selectFeeJianchaById(id);
    }

    /**
     * 查询检查缴费信息列表
     * 
     * @param feeJiancha 检查缴费信息
     * @return 检查缴费信息
     */
    @Override
    public List<FeeJiancha> selectFeeJianchaList(FeeJiancha feeJiancha)
    {
        return feeJianchaMapper.selectFeeJianchaList(feeJiancha);
    }

    /**
     * 新增检查缴费信息
     * 
     * @param feeJiancha 检查缴费信息
     * @return 结果
     */
    @Override
    public int insertFeeJiancha(FeeJiancha feeJiancha)
    {
        return feeJianchaMapper.insertFeeJiancha(feeJiancha);
    }

    /**
     * 修改检查缴费信息
     * 
     * @param feeJiancha 检查缴费信息
     * @return 结果
     */
    @Override
    public int updateFeeJiancha(FeeJiancha feeJiancha)
    {
        return feeJianchaMapper.updateFeeJiancha(feeJiancha);
    }

    /**
     * 批量删除检查缴费信息
     * 
     * @param ids 需要删除的检查缴费信息主键
     * @return 结果
     */
    @Override
    public int deleteFeeJianchaByIds(Long[] ids)
    {
        return feeJianchaMapper.deleteFeeJianchaByIds(ids);
    }

    /**
     * 删除检查缴费信息信息
     * 
     * @param id 检查缴费信息主键
     * @return 结果
     */
    @Override
    public int deleteFeeJianchaById(Long id)
    {
        return feeJianchaMapper.deleteFeeJianchaById(id);
    }
}
